//
//  EmoticonLayout.swift
//  VVbo
//
//  Created by Mr.Run on 2017/9/11.
//  Copyright © 2017年 Mr.Run. All rights reserved.
//

import UIKit

class EmoticonLayout: UICollectionViewFlowLayout {
    override func prepare() {
        super.prepare()
        
        guard let collectionView = collectionView else {
            return
        }
        
        itemSize = collectionView.bounds.size
        
        scrollDirection = .horizontal
        
    }
}
